package com.etc.dto;

import com.etc.entity.Goods;
import com.etc.entity.Goodstype;
import com.etc.entity.Shop;

public class GoodsDto extends Goods {

	private Shop shop;
	private Goodstype goodstype;

	public Shop getShop() {
		return shop;
	}

	public void setShop(Shop shop) {
		this.shop = shop;
	}

	public Goodstype getGoodstype() {
		return goodstype;
	}

	public void setGoodstype(Goodstype goodstype) {
		this.goodstype = goodstype;
	}

	public GoodsDto(Shop shop, Goodstype goodstype) {
		super();
		this.shop = shop;
		this.goodstype = goodstype;
	}

	public GoodsDto() {
		// TODO Auto-generated constructor stub
	}

	@Override
	public String toString() {
		return "GoodsDto [shop=" + shop + ", goodstype=" + goodstype + "]";
	}

}
